#ifndef EDITORREGIONMANAGER_HPP
#define	EDITORREGIONMANAGER_HPP

#include "Objects/RegionManager.hpp"
#include "EditorRegion.hpp"

/**
 * Editor implementation of RegionManager.
 */
class EditorRegionManager:public RegionManager{
public:
    EditorRegionManager();
    
    virtual Region* createRegion(const char* name);
    virtual void update(unsigned int frameTime);
    virtual bool destroyRegion(Region* region);
    virtual bool destroyRegion(unsigned short index);
    
    virtual void bind(lua_State* luaState);
    virtual void push(lua_State* luaState);
};

#endif

